public class Top4 {

	/**
	 * 1307674368000
	 */
	public static void main(String[] args) {
		int i = 2;
		long sum = 1;
		while (i < 16) {
			sum = sum * i;
			i++;
		}
		System.out.println(sum);
	}

}
